package com.longsys.eventsourcing.demo.model;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Data;

@Data
@TableName("USER")
public class User {

    @TableId(value = "ID", type = IdType.AUTO)
    private int id;

    @TableField("NAME")
    private String name;
}
